package com.bruce.pattern.behavioral.state;


/**
 * Created by bruce on 2018/11/11 21:27
 */
public abstract class AbsVideoState implements VideoState {

    protected VideoContext videoContext;

    public void setVideoContext(VideoContext videoContext) {
        this.videoContext = videoContext;
    }

    protected void setContextState(AbsVideoState state) {
        videoContext.setVideoState(state);
    }


}
